package com.travelgroup.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.travelgroup.enums.ActivityType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("schedule_activity")
@Schema(description = "行程活动信息")
public class Activity {

    @Schema(description = "活动id")
    private Long id;

    @Schema(description = "关联每日行程id")
    @TableField(value = "daily_schedule_id")
    private Long scheduleId;

    @Schema(description = "活动开始时间")
    private Date startTime;

    @Schema(description = "活动结束时间")
    private Date endTime;

    @Schema(description = "活动类型:0-早餐,1-午餐,2-晚餐,3-交通,4-景点/场馆,5-酒店,6-购物,7-自由活动,8-其他")
    private ActivityType activityType;

    @Schema(description = "活动标题")
    private String title;

    @Schema(description = "活动详细描述")
    private String description;

    @Schema(description = "地点活动则关联地点id")
    private Long locationId;

    @Schema(description = "预估费用")
    private Double costEstimate;

    @Schema(description = "注意事项或备注")
    private String notes;

    private LocalDateTime createTime;

    private Boolean deleted;
}
